var mongoose = require('mongoose');

var User_longpost = new mongoose.Schema({
    q1:String,
    q2:String,
    q3_1:String,
    q3_2:String,
    q4:String,
    q5_1:String,
    q5_2:String,
    q6:String,
    q7_1:String,
    q7_2:String,
    q8:String,
    q9_1:String,
    q9_2:String,
    q10:String,
    q11_1:String,
    q11_2:String,
    q12:String,
    q13_1:String,
    q13_2:String,
    q14:String,
    q15_1:String,
    q15_2:String,
    q16:String,
    q17_1:String,
    q17_2:String,
    q18:String,
    q19_1:String,
    q19_2:String,
    q20:String,
    q21_1:String,
    q21_2:String,
    q22:String,
    q23_1:String,
    q23_2:String,
    q24_1:String,
    q24_2:String,
    q25_1:String,
    q25_2:String,
    q26_1:String,
    q26_2:String,
    q27_1:String,
    q27_2:String,
    q28:String,
    q29:String,
    q30:String,
    q31:String,
    q32:String,
    headers:Object,
    time: Date,
    state:Number
});

var User_shortpost_1 = new mongoose.Schema({
    q1:String,
    q2_1:String,
    q2_2:String,
    q3:String,
    q4_1:String,
    q4_2:String,
    q5:String,
    q6_1:String,
    q6_2:String,
    q7_1:String,
    q7_2:String,
    q8:String,
    q9:String,
    q10:String,
    q11:String,
    q12:String,
    q13:String,
    q14:String,
    headers:Object,
    time:Date,
    state:Number
});

var User_shortpost_a = new mongoose.Schema({
    q1:String,
    q2_1:String,
    q2_2:String,
    q3:String,
    q4_1:String,
    q4_2:String,
    q5:String,
    q6_1:String,
    q6_2:String,
    q7_1:String,
    q7_2:String,
    q8:String,
    q9:String,
    q10:String,
    q11:String,
    q12:String,
    q13:String,
    q14:String,
    headers:Object,
    time:Date,
    state:Number
});

var User_shortpost_s = new mongoose.Schema({
    q1:String,
    q2_1:String,
    q2_2:String,
    q3:String,
    q4_1:String,
    q4_2:String,
    q5:String,
    q6_1:String,
    q6_2:String,
    q7_1:String,
    q7_2:String,
    q8:String,
    q9:String,
    q10:String,
    q11:String,
    q12:String,
    q13:String,
    q14:String,
    headers:Object,
    time:Date,
    state:Number
});

var Uesr_phone = new mongoose.Schema({
    phonenumber:String,
    state:Number//初始存入均为0
})
mongoose.model('User_longpost', User_longpost);
mongoose.model('User_shortpost_1', User_shortpost_1);
mongoose.model('User_shortpost_a', User_shortpost_a);
mongoose.model('User_shortpost_s', User_shortpost_s);
mongoose.model('User_phone', Uesr_phone);
